package com.hxd.qzg.route;

import com.hxd.qzg.interceptor.ApiInterceptor;
import com.hxd.qzg.module.ApiController;
import com.jfinal.config.Routes;
import com.jfinal.kit.Prop;
import com.jfinal.kit.PropKit;

public class ApiRoute extends Routes {

    private static Prop CONFIG_PROP;

    static {
        CONFIG_PROP = PropKit.use("config.properties");
    }

    @Override
    public void config() {

		addInterceptor(new ApiInterceptor());
		add("/boxGroup", ApiController.class);
    }
}